<?xml version="1.0" encoding="UTF-8"?>

<process xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:info="http://www.tibco.com/bw/process/info" xmlns:ns="http://xmlns.example.com/20140430123428PLT" xmlns:ns0="http://www.tibco.com/pe/EngineTypes" xmlns:ns1="http://www.example.org/Books/REST/1398841468313" xmlns:ns2="http://xmlns.example.com/20140429203004" xmlns:ns3="http://xmlns.example.com/20140430151657" xmlns:ns4="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:sca-bpel="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801" xmlns:tib="http://ns.tibco.com/bw/property" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions" xmlns:tibprop="http://ns.tibco.com/bw/property" xmlns:xsd="http://www.w3.org/2001/XMLSchema" exitOnStandardFault="no" name="tibco.bw.sample.binding.rest.bookstore.Books" suppressJoinFailure="yes" targetNamespace="http://xmlns.example.com/20140513214116" x="140" y="20" width="692" height="2265" type="process">  
  <partnerLinks> 
    <partnerLink myRole="use" name="Books" partnerLinkType="ns:BooksPLT" sca-bpel:ignore="false" sca-bpel:service="Books"/>  
    <partnerLink name="Service" partnerLinkType="ns:ServicePLT" partnerRole="use" sca-bpel:ignore="true" sca-bpel:reference="Service" sca-bpel:wiredByImpl="false"> 
      <ReferenceWire dynamic="false" inline="false" processConfigurationName="" processName="tibco.bw.sample.binding.rest.bookstore.db.BooksDB" serviceName="BooksPersist"/> 
    </partnerLink>  
    <partnerLink myRole="use" name="Book" partnerLinkType="ns:BookPLT" sca-bpel:ignore="false" sca-bpel:service="Book"/>  
    <partnerLink name="Service1" partnerLinkType="ns:ServicePLT1" partnerRole="use" sca-bpel:ignore="true" sca-bpel:reference="Service1" sca-bpel:wiredByImpl="false"> 
      <ReferenceWire dynamic="false" inline="false" processConfigurationName="" processName="tibco.bw.sample.binding.rest.bookstore.db.EventsDB" serviceName="EventsPersist"/> 
    </partnerLink>  
    <partnerLink myRole="use" name="Book1" partnerLinkType="ns:Book1PLT" sca-bpel:ignore="false" sca-bpel:service="Book1"/> 
  </partnerLinks>  
    
  <scope name="scope"> 
    <flow name="flow"> 
      <links/>  
      <pick createInstance="yes" name="pick" xpdlId="c3d3b735-1ea7-45e7-9f66-55553721f6b0" x="76" y="44" width="540" height="1984" type="pick"> 
        <onMessage operation="post" partnerLink="Books" portType="ns1:Books" xpdlId="7433aafd-a51d-4122-89f6-a8687c98024f" variable="post" x="9" y="11" width="522" height="210" type="onMessage"> 
          <scope name="scope1"> 
              
            <faultHandlers> 
              <catchAll faultDetailsVar="FaultDetails" faultNameVar="FaultName" xpdlId="db55444f-20dd-4759-a14a-064b9b436e01" x="42" y="199" width="421" height="177" type="catchAll"> 
                <scope name="scope7"> 
                  <flow name="flow7"> 
                    <links> 
                      <link name="LogToReply" points="[[177,89],[243,89]]"/> 
                    </links>  
                    <extensionActivity x="128" y="65" width="48" height="48" type="log" name="Log"> 
                      <activityExtension expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0" inputVariable="Log-input" name="Log" xpdlId="4e666ec6-0693-4612-8792-a39166d37000">  
                        <sources> 
                          <source linkName="LogToReply"/> 
                        </sources>  
                        <inputBindings> 
                          <inputBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                        </inputBindings>  
                        <config> 
                          <bwext:BWActivity xmlns:bwext="http://tns.tibco.com/bw/model/core/bwext" xmlns:activityconfig="http://tns.tibco.com/bw/model/activityconfig" xmlns:generalactivities="http://ns.tibco.com/bw/palette/generalactivities" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" activityTypeID="bw.generalactivities.log" version="6.0.0.001">  
                            <activityConfig> 
                              <properties name="config" xsi:type="activityconfig:EMFProperty"> 
                                <type href="http://ns.tibco.com/bw/palette/generalactivities#//Log"/>  
                                <value role="Info" suppressJobInfo="true" xsi:type="generalactivities:Log"/> 
                              </properties> 
                            </activityConfig> 
                          </bwext:BWActivity> 
                        </config> 
                      </activityExtension> 
                    </extensionActivity>  
                    <reply faultName="serverFault" name="Reply" operation="post" partnerLink="Books" portType="ns1:Books" xpdlId="68ce155d-ce48-4f9d-9795-1d2961963f8d" variable="Reply-input" x="243" y="65" width="48" height="48" type="reply"> 
                      <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://tns.tibco.com/bw/REST" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0"&gt;&lt;xsl:param name="FaultDetails"/&gt;&lt;xsl:param name="ServiceOp"/&gt;&lt;xsl:template name="Reply-input" match="/"&gt;&lt;tns:post5XXFaultMessage&gt;&lt;serverError&gt;&lt;tns1:server5XXError&gt;&lt;statusCode&gt;&lt;xsl:value-of select="xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))"/&gt;&lt;/statusCode&gt;&lt;message&gt;&lt;xsl:value-of select="concat($ServiceOp, $FaultDetails/Msg)"/&gt;&lt;/message&gt;&lt;/tns1:server5XXError&gt;&lt;/serverError&gt;&lt;/tns:post5XXFaultMessage&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                      <inputBindings> 
                        <partBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.example.org/Books/REST/1398841468313&quot; xmlns:tns1=&quot;http://tns.tibco.com/bw/REST&quot; xmlns:bw=&quot;http://www.tibco.com/bw/xpath/bw-custom-functions&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; version=&quot;2.0&quot;&gt;
    &lt;xsl:param name=&quot;FaultDetails&quot;/&gt;
    &lt;xsl:param name=&quot;ServiceOp&quot;/&gt;
    &lt;xsl:template name=&quot;Reply-input&quot; match=&quot;/&quot;&gt;
        &lt;tns1:server5XXError&gt;
            &lt;statusCode&gt;
                &lt;xsl:value-of select=&quot;xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))&quot;/&gt;
            &lt;/statusCode&gt;
            &lt;message&gt;
                &lt;xsl:value-of select=&quot;concat($ServiceOp, $FaultDetails/Msg)&quot;/&gt;
            &lt;/message&gt;
        &lt;/tns1:server5XXError&gt;
    &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                      </inputBindings>  
                      <targets> 
                        <target linkName="LogToReply"/> 
                      </targets> 
                    </reply> 
                  </flow> 
                </scope> 
              </catchAll> 
            </faultHandlers>  
            <flow name="flow1"> 
              <links> 
                <link name="addBooksTopostOut" points="[[195,65],[254,65],[254,39],[314,39]]"/> 
              </links>  
              <empty name="OnMessageStart" constructor="onMessageStart" xpdlId="0cf5ce8c-3f43-4c4f-b48e-25e84fb5fa58" x="-19" y="63" width="16" height="16" type="onMessageStart"/>  
              <empty name="OnMessageEnd" constructor="onMessageEnd" xpdlId="32811d90-d2cb-4572-a30b-5e351818c821" x="520" y="63" width="16" height="16" type="onMessageEnd"/>  
              <reply name="postOut" operation="post" partnerLink="Books" portType="ns1:Books" xpdlId="1659e96e-af48-4d23-b325-41d38f9bb65b" variable="postOut-input" x="314" y="15" width="48" height="48" type="reply"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://www.example.org/Books" xmlns:tns2="http://xmlns.example.com/20140429203004" version="2.0"&gt;&lt;xsl:param name="addBooks"/&gt;&lt;xsl:template name="postOut-input" match="/"&gt;&lt;tns:postResponse&gt;&lt;item&gt;&lt;tns1:Books&gt;&lt;xsl:copy-of select="$addBooks/parameters/tns2:operationResponse/tns1:Book"/&gt;&lt;/tns1:Books&gt;&lt;/item&gt;&lt;/tns:postResponse&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                  <partBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.example.org/Books/REST/1398841468313&quot; xmlns:tns1=&quot;http://www.example.org/Books&quot; xmlns:tns2=&quot;http://xmlns.example.com/20140429203004&quot; version=&quot;2.0&quot;&gt;
    &lt;xsl:param name=&quot;addBooks.parameters&quot;/&gt;
    &lt;xsl:template name=&quot;postOut-input&quot; match=&quot;/&quot;&gt;
        &lt;tns1:Books&gt;
            &lt;xsl:copy-of select=&quot;$addBooks.parameters/tns1:Book&quot;/&gt;
        &lt;/tns1:Books&gt;
    &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                </inputBindings>  
                <targets> 
                  <target linkName="addBooksTopostOut"/> 
                </targets> 
              </reply>  
              <invoke inputVariable="addBooks-input" name="addBooks" operation="addBooks" outputVariable="addBooks" partnerLink="Service" portType="ns2:Service" xpdlId="20a12a69-8f23-4999-bd5c-db90d07149d1" x="146" y="41" width="48" height="48" type="invoke"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://xmlns.example.com/20140429203004" xmlns:tns1="http://www.example.org/Books" version="2.0"&gt;&lt;xsl:param name="post"/&gt;&lt;xsl:template name="addBooks-input" match="/"&gt;&lt;tns:operationRequest&gt;&lt;parameters&gt;&lt;tns:operationRequest&gt;&lt;xsl:copy-of select="$post/item/tns1:Books/tns1:Book"/&gt;&lt;/tns:operationRequest&gt;&lt;/parameters&gt;&lt;/tns:operationRequest&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                  <partBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://xmlns.example.com/20140429203004&quot; xmlns:tns1=&quot;http://www.example.org/Books&quot; version=&quot;2.0&quot;&gt;
    &lt;xsl:param name=&quot;post.item&quot;/&gt;
    &lt;xsl:template name=&quot;addBooks-input&quot; match=&quot;/&quot;&gt;
        &lt;tns:operationRequest&gt;
            &lt;xsl:copy-of select=&quot;$post.item/tns1:Book&quot;/&gt;
        &lt;/tns:operationRequest&gt;
    &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                </inputBindings>  
                <sources> 
                  <source linkName="addBooksTopostOut"/> 
                </sources> 
              </invoke> 
            </flow> 
          </scope> 
        </onMessage>  
        <onMessage operation="get" partnerLink="Books" portType="ns1:Books" xpdlId="5b5821f0-a119-4baf-972b-95574b314387" variable="get" x="9" y="388" width="522" height="221" type="onMessage"> 
          <scope name="scope2"> 
            <variables> 
              <variable name="ServiceOp" type="xsd:string"> 
                <from> 
                  <literal>Books/get</literal> 
                </from> 
              </variable> 
            </variables>  
            <faultHandlers> 
              <catchAll faultDetailsVar="FaultDetails" faultNameVar="FaultName" xpdlId="9631ef41-ce8e-472d-ad94-9f9ee789f3a2" x="42" y="210" width="421" height="177" type="catchAll"> 
                <scope name="scope8"> 
                  <flow name="flow8"> 
                    <links> 
                      <link name="Log1ToReply1" points="[[182,85],[266,85]]"/> 
                    </links>  
                    <extensionActivity x="133" y="61" width="48" height="48" type="log" name="Log1"> 
                      <activityExtension expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log1-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0" inputVariable="Log1-input" name="Log1" xpdlId="b799b30b-2ad3-4b4b-a115-b9ea1940bc9f">  
                        <sources> 
                          <source linkName="Log1ToReply1"/> 
                        </sources>  
                        <inputBindings> 
                          <inputBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log1-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                        </inputBindings>  
                        <config> 
                          <bwext:BWActivity xmlns:bwext="http://tns.tibco.com/bw/model/core/bwext" xmlns:activityconfig="http://tns.tibco.com/bw/model/activityconfig" xmlns:generalactivities="http://ns.tibco.com/bw/palette/generalactivities" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" activityTypeID="bw.generalactivities.log" version="6.0.0.001">  
                            <activityConfig> 
                              <properties name="config" xsi:type="activityconfig:EMFProperty"> 
                                <type href="http://ns.tibco.com/bw/palette/generalactivities#//Log"/>  
                                <value role="Info" suppressJobInfo="true" xsi:type="generalactivities:Log"/> 
                              </properties> 
                            </activityConfig> 
                          </bwext:BWActivity> 
                        </config> 
                      </activityExtension> 
                    </extensionActivity>  
                    <reply faultName="serverFault" name="Reply1" operation="get" partnerLink="Books" portType="ns1:Books" xpdlId="99f461ea-c592-46f0-9ce2-9c16fdf74a94" variable="Reply1-input" x="266" y="61" width="48" height="48" type="reply"> 
                      <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://tns.tibco.com/bw/REST" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" version="2.0"&gt;&lt;xsl:param name="FaultDetails"/&gt;&lt;xsl:param name="ServiceOp"/&gt;&lt;xsl:template name="Reply1-input" match="/"&gt;&lt;tns:get5XXFaultMessage&gt;&lt;serverError&gt;&lt;tns1:server5XXError&gt;&lt;statusCode&gt;&lt;xsl:value-of select="xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))"/&gt;&lt;/statusCode&gt;&lt;message&gt;&lt;xsl:value-of select="concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)"/&gt;&lt;/message&gt;&lt;/tns1:server5XXError&gt;&lt;/serverError&gt;&lt;/tns:get5XXFaultMessage&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                      <inputBindings> 
                        <partBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.example.org/Books/REST/1398841468313&quot; xmlns:tns1=&quot;http://tns.tibco.com/bw/REST&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:bw=&quot;http://www.tibco.com/bw/xpath/bw-custom-functions&quot; version=&quot;2.0&quot;&gt;
    &lt;xsl:param name=&quot;FaultDetails&quot;/&gt;
    &lt;xsl:param name=&quot;ServiceOp&quot;/&gt;
    &lt;xsl:template name=&quot;Reply1-input&quot; match=&quot;/&quot;&gt;
        &lt;tns1:server5XXError&gt;
            &lt;statusCode&gt;
                &lt;xsl:value-of select=&quot;xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))&quot;/&gt;
            &lt;/statusCode&gt;
            &lt;message&gt;
                &lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;
            &lt;/message&gt;
        &lt;/tns1:server5XXError&gt;
    &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                      </inputBindings>  
                      <targets> 
                        <target linkName="Log1ToReply1"/> 
                      </targets> 
                    </reply> 
                  </flow> 
                </scope> 
              </catchAll> 
            </faultHandlers>  
            <flow name="flow2"> 
              <links> 
                <link name="getAllBooksTogetOut" points="[[228,39],[308,39]]"/> 
              </links>  
              <empty name="OnMessageStart1" constructor="onMessageStart" xpdlId="8edb97f7-1faa-403b-9342-9b3975872199" x="-19" y="63" width="16" height="16" type="onMessageStart"/>  
              <empty name="OnMessageEnd1" constructor="onMessageEnd" xpdlId="4b480262-1c1e-4b3e-8449-9aaec41707cc" x="520" y="63" width="16" height="16" type="onMessageEnd"/>  
              <reply name="getOut" operation="get" partnerLink="Books" portType="ns1:Books" xpdlId="7a3fd28a-1726-44a6-b0b6-e2cc9391ad68" variable="getOut-input" x="308" y="15" width="48" height="48" type="reply"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://www.example.org/Books" xmlns:tns2="http://xmlns.example.com/20140429203004" version="2.0"&gt;&lt;xsl:param name="getAllBooks"/&gt;&lt;xsl:template name="getOut-input" match="/"&gt;&lt;tns:getResponse&gt;&lt;item&gt;&lt;tns1:Books&gt;&lt;xsl:copy-of select="$getAllBooks/parameters/tns2:operationResponse1/tns1:Book"/&gt;&lt;/tns1:Books&gt;&lt;/item&gt;&lt;/tns:getResponse&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                  <partBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.example.org/Books/REST/1398841468313&quot; xmlns:tns1=&quot;http://www.example.org/Books&quot; xmlns:tns2=&quot;http://xmlns.example.com/20140429203004&quot; version=&quot;2.0&quot;&gt;
    &lt;xsl:param name=&quot;getAllBooks.parameters&quot;/&gt;
    &lt;xsl:template name=&quot;getOut-input&quot; match=&quot;/&quot;&gt;
        &lt;tns1:Books&gt;
            &lt;xsl:copy-of select=&quot;$getAllBooks.parameters/tns1:Book&quot;/&gt;
        &lt;/tns1:Books&gt;
    &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                </inputBindings>  
                <targets> 
                  <target linkName="getAllBooksTogetOut"/> 
                </targets> 
              </reply>  
              <invoke inputVariable="getAllBooks-input" name="getAllBooks" operation="getAllBooks" outputVariable="getAllBooks" partnerLink="Service" portType="ns2:Service" xpdlId="444011e8-366f-4853-8a2e-4d5a55983432" x="179" y="15" width="48" height="48" type="invoke"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://xmlns.example.com/20140429203004" version="2.0"&gt;&lt;xsl:template name="getAllBooks-input" match="/"&gt;&lt;tns:operationRequest1&gt;&lt;parameters&gt;&lt;tns:operationRequest1&gt;&lt;in&gt;&lt;xsl:value-of select="&amp;quot;Get All Books&amp;quot;"/&gt;&lt;/in&gt;&lt;/tns:operationRequest1&gt;&lt;/parameters&gt;&lt;/tns:operationRequest1&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                  <partBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://xmlns.example.com/20140429203004&quot; version=&quot;2.0&quot;&gt;
    &lt;xsl:template name=&quot;getAllBooks-input&quot; match=&quot;/&quot;&gt;
        &lt;tns:operationRequest1&gt;
            &lt;in&gt;
                &lt;xsl:value-of select=&quot;&amp;quot;Get All Books&amp;quot;&quot;/&gt;
            &lt;/in&gt;
        &lt;/tns:operationRequest1&gt;
    &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                </inputBindings>  
                <sources> 
                  <source linkName="getAllBooksTogetOut"/> 
                </sources> 
              </invoke> 
            </flow> 
          </scope> 
        </onMessage>  
        <onMessage operation="get" partnerLink="Book" portType="ns1:Book" xpdlId="b2310a9f-e655-40f0-a9de-6093b6d962f0" variable="get1" x="9" y="776" width="522" height="218" type="onMessage"> 
          <scope name="scope3"> 
            <variables> 
              <variable name="ServiceOp" type="xsd:string"> 
                <from> 
                  <literal>Book/get</literal> 
                </from> 
              </variable> 
            </variables>  
            <faultHandlers> 
              <catchAll faultDetailsVar="FaultDetails" faultNameVar="FaultName" xpdlId="63174733-4f7c-42fb-b2c3-dbc64cc13220" x="42" y="207" width="421" height="177" type="catchAll"> 
                <scope name="scope9"> 
                  <flow name="flow9"> 
                    <links> 
                      <link name="Log2ToReply2" points="[[178,82],[263,82]]"/> 
                    </links>  
                    <extensionActivity x="129" y="58" width="48" height="48" type="log" name="Log2"> 
                      <activityExtension expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log2-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0" inputVariable="Log2-input" name="Log2" xpdlId="8796138a-2211-4af5-a1e0-3ba981f7a9e5">  
                        <sources> 
                          <source linkName="Log2ToReply2"/> 
                        </sources>  
                        <inputBindings> 
                          <inputBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log2-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                        </inputBindings>  
                        <config> 
                          <bwext:BWActivity xmlns:bwext="http://tns.tibco.com/bw/model/core/bwext" xmlns:activityconfig="http://tns.tibco.com/bw/model/activityconfig" xmlns:generalactivities="http://ns.tibco.com/bw/palette/generalactivities" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" activityTypeID="bw.generalactivities.log" version="6.0.0.001">  
                            <activityConfig> 
                              <properties name="config" xsi:type="activityconfig:EMFProperty"> 
                                <type href="http://ns.tibco.com/bw/palette/generalactivities#//Log"/>  
                                <value role="Info" suppressJobInfo="true" xsi:type="generalactivities:Log"/> 
                              </properties> 
                            </activityConfig> 
                          </bwext:BWActivity> 
                        </config> 
                      </activityExtension> 
                    </extensionActivity>  
                    <reply faultName="serverFault" name="Reply2" operation="get" partnerLink="Book" portType="ns1:Book" xpdlId="9e088ce1-e7fc-4034-b375-c3f6db13a58d" variable="Reply2-input" x="263" y="58" width="48" height="48" type="reply"> 
                      <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://tns.tibco.com/bw/REST" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" version="2.0"&gt;&lt;xsl:param name="FaultDetails"/&gt;&lt;xsl:param name="ServiceOp"/&gt;&lt;xsl:template name="Reply2-input" match="/"&gt;&lt;tns:get5XXFaultMessage1&gt;&lt;serverError&gt;&lt;tns1:server5XXError&gt;&lt;statusCode&gt;&lt;xsl:value-of select="xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))"/&gt;&lt;/statusCode&gt;&lt;message&gt;&lt;xsl:value-of select="concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)"/&gt;&lt;/message&gt;&lt;/tns1:server5XXError&gt;&lt;/serverError&gt;&lt;/tns:get5XXFaultMessage1&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                      <inputBindings> 
                        <partBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.example.org/Books/REST/1398841468313&quot; xmlns:tns1=&quot;http://tns.tibco.com/bw/REST&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:bw=&quot;http://www.tibco.com/bw/xpath/bw-custom-functions&quot; version=&quot;2.0&quot;&gt;
    &lt;xsl:param name=&quot;FaultDetails&quot;/&gt;
    &lt;xsl:param name=&quot;ServiceOp&quot;/&gt;
    &lt;xsl:template name=&quot;Reply2-input&quot; match=&quot;/&quot;&gt;
        &lt;tns1:server5XXError&gt;
            &lt;statusCode&gt;
                &lt;xsl:value-of select=&quot;xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))&quot;/&gt;
            &lt;/statusCode&gt;
            &lt;message&gt;
                &lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;
            &lt;/message&gt;
        &lt;/tns1:server5XXError&gt;
    &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                      </inputBindings>  
                      <targets> 
                        <target linkName="Log2ToReply2"/> 
                      </targets> 
                    </reply> 
                  </flow> 
                </scope> 
              </catchAll> 
            </faultHandlers>  
            <flow name="flow3"> 
              <links> 
                <link name="getBookByISBNTogetOut1" points="[[207,39],[308,39]]"/> 
              </links>  
              <empty name="OnMessageStart2" constructor="onMessageStart" xpdlId="2b10669e-b673-4f4e-a03c-c880aa16c29e" x="-19" y="63" width="16" height="16" type="onMessageStart"/>  
              <empty name="OnMessageEnd2" constructor="onMessageEnd" xpdlId="c5242ce8-e153-4ccd-b2db-7eb326e66231" x="520" y="63" width="16" height="16" type="onMessageEnd"/>  
              <reply name="getOut1" operation="get" partnerLink="Book" portType="ns1:Book" xpdlId="14c22ef6-0d4f-43d1-a2dc-a3da71175834" variable="getOut1-input" x="308" y="15" width="48" height="48" type="reply"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://xmlns.example.com/20140429203004" xmlns:tns2="http://www.example.org/Books" version="2.0"&gt;&lt;xsl:param name="getBookByISBN"/&gt;&lt;xsl:template name="getOut1-input" match="/"&gt;&lt;tns:getResponse1&gt;&lt;item&gt;&lt;xsl:for-each select="$getBookByISBN/parameters/tns1:operationResponse2"&gt;&lt;tns2:Book&gt;&lt;xsl:if test="tns2:isbn"&gt;&lt;tns2:isbn&gt;&lt;xsl:value-of select="tns2:isbn"/&gt;&lt;/tns2:isbn&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:name"&gt;&lt;tns2:name&gt;&lt;xsl:value-of select="tns2:name"/&gt;&lt;/tns2:name&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:description"&gt;&lt;tns2:description&gt;&lt;xsl:value-of select="tns2:description"/&gt;&lt;/tns2:description&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:authorName"&gt;&lt;tns2:authorName&gt;&lt;xsl:value-of select="tns2:authorName"/&gt;&lt;/tns2:authorName&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:releaseDate"&gt;&lt;tns2:releaseDate&gt;&lt;xsl:value-of select="tns2:releaseDate"/&gt;&lt;/tns2:releaseDate&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:vintage"&gt;&lt;tns2:vintage&gt;&lt;xsl:value-of select="tns2:vintage"/&gt;&lt;/tns2:vintage&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:signed"&gt;&lt;tns2:signed&gt;&lt;xsl:value-of select="tns2:signed"/&gt;&lt;/tns2:signed&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:price"&gt;&lt;tns2:price&gt;&lt;xsl:value-of select="tns2:price"/&gt;&lt;/tns2:price&gt;&lt;/xsl:if&gt;&lt;/tns2:Book&gt;&lt;/xsl:for-each&gt;&lt;/item&gt;&lt;/tns:getResponse1&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                  
                <targets> 
                  <target linkName="getBookByISBNTogetOut1"/> 
                </targets> 
              </reply>  
              <invoke inputVariable="getBookByISBN-input" name="getBookByISBN" operation="getBookByISBN" outputVariable="getBookByISBN" partnerLink="Service" portType="ns2:Service" xpdlId="badf7335-ba76-4f74-b09a-894d236bb623" x="158" y="15" width="48" height="48" type="invoke"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://xmlns.example.com/20140429203004" xmlns:tns1="http://www.example.org/Books/REST/1398841468313/ConceptSchema" version="2.0"&gt;&lt;xsl:param name="get1"/&gt;&lt;xsl:template name="getBookByISBN-input" match="/"&gt;&lt;tns:operationRequest2&gt;&lt;parameters&gt;&lt;tns:operationRequest2&gt;&lt;ISBN&gt;&lt;xsl:value-of select="$get1/parameters/tns1:BookParameters/ISBN"/&gt;&lt;/ISBN&gt;&lt;/tns:operationRequest2&gt;&lt;/parameters&gt;&lt;/tns:operationRequest2&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                  
                <sources> 
                  <source linkName="getBookByISBNTogetOut1"/> 
                </sources> 
              </invoke> 
            </flow> 
          </scope> 
        </onMessage>  
        <onMessage operation="put" partnerLink="Book" portType="ns1:Book" xpdlId="1b5993eb-0c59-4e94-bca3-f567b05a6c0e" variable="put" x="9" y="1161" width="522" height="227" type="onMessage"> 
          <scope name="scope4"> 
            <variables> 
              <variable name="ServiceOp" type="xsd:string"> 
                <from> 
                  <literal>Book/put</literal> 
                </from> 
              </variable> 
            </variables>  
            <faultHandlers> 
              <catchAll faultDetailsVar="FaultDetails" faultNameVar="FaultName" xpdlId="d7ca41dc-db41-46cc-8514-048f0f4bbad4" x="42" y="216" width="421" height="177" type="catchAll"> 
                <scope name="scope12"> 
                  <flow name="flow12"> 
                    <links> 
                      <link name="Log3ToReply3" points="[[181,94],[261,94]]"/> 
                    </links>  
                    <extensionActivity x="132" y="70" width="48" height="48" type="log" name="Log3"> 
                      <activityExtension expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log3-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0" inputVariable="Log3-input" name="Log3" xpdlId="11046c8b-a709-4480-82ca-415162b5a276">  
                        <sources> 
                          <source linkName="Log3ToReply3"/> 
                        </sources>  
                        <inputBindings> 
                          <inputBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log3-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                        </inputBindings>  
                        <config> 
                          <bwext:BWActivity xmlns:bwext="http://tns.tibco.com/bw/model/core/bwext" xmlns:activityconfig="http://tns.tibco.com/bw/model/activityconfig" xmlns:generalactivities="http://ns.tibco.com/bw/palette/generalactivities" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" activityTypeID="bw.generalactivities.log" version="6.0.0.001">  
                            <activityConfig> 
                              <properties name="config" xsi:type="activityconfig:EMFProperty"> 
                                <type href="http://ns.tibco.com/bw/palette/generalactivities#//Log"/>  
                                <value role="Info" suppressJobInfo="true" xsi:type="generalactivities:Log"/> 
                              </properties> 
                            </activityConfig> 
                          </bwext:BWActivity> 
                        </config> 
                      </activityExtension> 
                    </extensionActivity>  
                    <reply faultName="serverFault" name="Reply3" operation="put" partnerLink="Book" portType="ns1:Book" xpdlId="e5c9c996-8052-440a-b14a-eca2dc582e8e" variable="Reply3-input" x="261" y="70" width="48" height="48" type="reply"> 
                      <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://tns.tibco.com/bw/REST" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" version="2.0"&gt;&lt;xsl:param name="FaultDetails"/&gt;&lt;xsl:param name="ServiceOp"/&gt;&lt;xsl:template name="Reply3-input" match="/"&gt;&lt;tns:put5XXFaultMessage&gt;&lt;serverError&gt;&lt;tns1:server5XXError&gt;&lt;statusCode&gt;&lt;xsl:value-of select="xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))"/&gt;&lt;/statusCode&gt;&lt;message&gt;&lt;xsl:value-of select="concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)"/&gt;&lt;/message&gt;&lt;/tns1:server5XXError&gt;&lt;/serverError&gt;&lt;/tns:put5XXFaultMessage&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                      <inputBindings> 
                         
                      </inputBindings>  
                      <targets> 
                        <target linkName="Log3ToReply3"/> 
                      </targets> 
                    </reply> 
                  </flow> 
                </scope> 
              </catchAll> 
            </faultHandlers>  
            <flow name="flow4"> 
              <links> 
                <link name="updateBookToputOut" points="[[216,39],[308,39]]"/> 
              </links>  
              <empty name="OnMessageStart3" constructor="onMessageStart" xpdlId="07d432b4-3b16-4a78-8f27-7b6ed51c5b37" x="-19" y="63" width="16" height="16" type="onMessageStart"/>  
              <empty name="OnMessageEnd3" constructor="onMessageEnd" xpdlId="6139e01b-ca2f-47ed-bc97-edb42757d12f" x="520" y="63" width="16" height="16" type="onMessageEnd"/>  
              <reply name="putOut" operation="put" partnerLink="Book" portType="ns1:Book" xpdlId="d4015a4b-a4ec-466d-9cff-1b2e397ce73b" variable="putOut-input" x="308" y="15" width="48" height="48" type="reply"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://xmlns.example.com/20140429203004" xmlns:tns2="http://www.example.org/Books" version="2.0"&gt;&lt;xsl:param name="updateBook"/&gt;&lt;xsl:template name="putOut-input" match="/"&gt;&lt;tns:putResponse&gt;&lt;item&gt;&lt;xsl:for-each select="$updateBook/parameters/tns1:operationResponse3"&gt;&lt;tns2:Book&gt;&lt;xsl:if test="tns2:isbn"&gt;&lt;tns2:isbn&gt;&lt;xsl:value-of select="tns2:isbn"/&gt;&lt;/tns2:isbn&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:name"&gt;&lt;tns2:name&gt;&lt;xsl:value-of select="tns2:name"/&gt;&lt;/tns2:name&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:description"&gt;&lt;tns2:description&gt;&lt;xsl:value-of select="tns2:description"/&gt;&lt;/tns2:description&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:authorName"&gt;&lt;tns2:authorName&gt;&lt;xsl:value-of select="tns2:authorName"/&gt;&lt;/tns2:authorName&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:releaseDate"&gt;&lt;tns2:releaseDate&gt;&lt;xsl:value-of select="tns2:releaseDate"/&gt;&lt;/tns2:releaseDate&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:vintage"&gt;&lt;tns2:vintage&gt;&lt;xsl:value-of select="tns2:vintage"/&gt;&lt;/tns2:vintage&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:signed"&gt;&lt;tns2:signed&gt;&lt;xsl:value-of select="tns2:signed"/&gt;&lt;/tns2:signed&gt;&lt;/xsl:if&gt;&lt;xsl:if test="tns2:price"&gt;&lt;tns2:price&gt;&lt;xsl:value-of select="tns2:price"/&gt;&lt;/tns2:price&gt;&lt;/xsl:if&gt;&lt;/tns2:Book&gt;&lt;/xsl:for-each&gt;&lt;/item&gt;&lt;/tns:putResponse&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                  
                </inputBindings>  
                <targets> 
                  <target linkName="updateBookToputOut"/> 
                </targets> 
              </reply>  
              <invoke inputVariable="updateBook-input" name="updateBook" operation="updateBook" outputVariable="updateBook" partnerLink="Service" portType="ns2:Service" xpdlId="57deeca3-70e9-4ae2-9626-62d6c3392358" x="167" y="15" width="48" height="48" type="invoke"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://xmlns.example.com/20140429203004" xmlns:tns1="http://www.example.org/Books/REST/1398841468313/ConceptSchema" xmlns:tns2="http://www.example.org/Books" version="2.0"&gt;&lt;xsl:param name="put"/&gt;&lt;xsl:template name="updateBook-input" match="/"&gt;&lt;tns:operationRequest3&gt;&lt;parameters&gt;&lt;tns:operationRequest3&gt;&lt;tns2:isbn&gt;&lt;xsl:value-of select="$put/parameters/tns1:BookParameters/ISBN"/&gt;&lt;/tns2:isbn&gt;&lt;xsl:if test="$put/item/tns2:Book/tns2:name"&gt;&lt;tns2:name&gt;&lt;xsl:value-of select="$put/item/tns2:Book/tns2:name"/&gt;&lt;/tns2:name&gt;&lt;/xsl:if&gt;&lt;xsl:if test="$put/item/tns2:Book/tns2:description"&gt;&lt;tns2:description&gt;&lt;xsl:value-of select="$put/item/tns2:Book/tns2:description"/&gt;&lt;/tns2:description&gt;&lt;/xsl:if&gt;&lt;xsl:if test="$put/item/tns2:Book/tns2:authorName"&gt;&lt;tns2:authorName&gt;&lt;xsl:value-of select="$put/item/tns2:Book/tns2:authorName"/&gt;&lt;/tns2:authorName&gt;&lt;/xsl:if&gt;&lt;xsl:if test="$put/item/tns2:Book/tns2:releaseDate"&gt;&lt;tns2:releaseDate&gt;&lt;xsl:value-of select="$put/item/tns2:Book/tns2:releaseDate"/&gt;&lt;/tns2:releaseDate&gt;&lt;/xsl:if&gt;&lt;xsl:if test="$put/item/tns2:Book/tns2:vintage"&gt;&lt;tns2:vintage&gt;&lt;xsl:value-of select="$put/item/tns2:Book/tns2:vintage"/&gt;&lt;/tns2:vintage&gt;&lt;/xsl:if&gt;&lt;xsl:if test="$put/item/tns2:Book/tns2:signed"&gt;&lt;tns2:signed&gt;&lt;xsl:value-of select="$put/item/tns2:Book/tns2:signed"/&gt;&lt;/tns2:signed&gt;&lt;/xsl:if&gt;&lt;xsl:if test="$put/item/tns2:Book/tns2:price"&gt;&lt;tns2:price&gt;&lt;xsl:value-of select="$put/item/tns2:Book/tns2:price"/&gt;&lt;/tns2:price&gt;&lt;/xsl:if&gt;&lt;/tns:operationRequest3&gt;&lt;/parameters&gt;&lt;/tns:operationRequest3&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                   
                </inputBindings>  
                <sources> 
                  <source linkName="updateBookToputOut"/> 
                </sources> 
              </invoke> 
            </flow> 
          </scope> 
        </onMessage>  
        <onMessage operation="delete" partnerLink="Book" portType="ns1:Book" xpdlId="63ae7e60-bf1f-4d3b-8a76-07d65c11d196" variable="delete" x="9" y="1555" width="522" height="232" type="onMessage"> 
          <scope name="scope5"> 
            <variables> 
              <variable name="ServiceOp" type="xsd:string"> 
                <from> 
                  <literal>Book/delete</literal> 
                </from> 
              </variable> 
            </variables>  
            <faultHandlers> 
              <catchAll faultDetailsVar="FaultDetails" faultNameVar="FaultName" xpdlId="2d2edd79-166a-447f-bfa6-e9021d06ba71" x="42" y="221" width="421" height="177" type="catchAll"> 
                <scope name="scope11"> 
                  <flow name="flow11"> 
                    <links> 
                      <link name="Log4ToReply4" points="[[181,82],[262,82]]"/> 
                    </links>  
                    <extensionActivity x="132" y="58" width="48" height="48" type="log" name="Log4"> 
                      <activityExtension expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log4-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0" inputVariable="Log4-input" name="Log4" xpdlId="834e64dd-6de6-42a3-b3f8-0e3efed9b1d5">  
                        <sources> 
                          <source linkName="Log4ToReply4"/> 
                        </sources>  
                        <inputBindings> 
                          <inputBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log4-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                        </inputBindings>  
                        <config> 
                          <bwext:BWActivity xmlns:bwext="http://tns.tibco.com/bw/model/core/bwext" xmlns:activityconfig="http://tns.tibco.com/bw/model/activityconfig" xmlns:generalactivities="http://ns.tibco.com/bw/palette/generalactivities" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" activityTypeID="bw.generalactivities.log" version="6.0.0.001">  
                            <activityConfig> 
                              <properties name="config" xsi:type="activityconfig:EMFProperty"> 
                                <type href="http://ns.tibco.com/bw/palette/generalactivities#//Log"/>  
                                <value role="Info" suppressJobInfo="true" xsi:type="generalactivities:Log"/> 
                              </properties> 
                            </activityConfig> 
                          </bwext:BWActivity> 
                        </config> 
                      </activityExtension> 
                    </extensionActivity>  
                    <reply faultName="serverFault" name="Reply4" operation="delete" partnerLink="Book" portType="ns1:Book" xpdlId="fd616cac-c5c7-4e25-aefb-54582f569a83" variable="Reply4-input" x="262" y="58" width="48" height="48" type="reply"> 
                      <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://tns.tibco.com/bw/REST" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" version="2.0"&gt;&lt;xsl:param name="FaultDetails"/&gt;&lt;xsl:param name="ServiceOp"/&gt;&lt;xsl:template name="Reply4-input" match="/"&gt;&lt;tns:delete5XXFaultMessage&gt;&lt;serverError&gt;&lt;tns1:server5XXError&gt;&lt;statusCode&gt;&lt;xsl:value-of select="xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))"/&gt;&lt;/statusCode&gt;&lt;message&gt;&lt;xsl:value-of select="concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)"/&gt;&lt;/message&gt;&lt;/tns1:server5XXError&gt;&lt;/serverError&gt;&lt;/tns:delete5XXFaultMessage&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                      <inputBindings> 
                         
                      </inputBindings>  
                      <targets> 
                        <target linkName="Log4ToReply4"/> 
                      </targets> 
                    </reply> 
                  </flow> 
                </scope> 
              </catchAll> 
            </faultHandlers>  
            <flow name="flow5"> 
              <links> 
                <link name="deleteBookTodeleteOut" points="[[207,39],[308,39]]"/> 
              </links>  
              <empty name="OnMessageStart4" constructor="onMessageStart" xpdlId="e5d5347d-f801-4d46-b1f3-b9500def05e2" x="-19" y="63" width="16" height="16" type="onMessageStart"/>  
              <empty name="OnMessageEnd4" constructor="onMessageEnd" xpdlId="36b0d033-b9d5-4851-8c34-cfb1988fe066" x="520" y="63" width="16" height="16" type="onMessageEnd"/>  
              <reply name="deleteOut" operation="delete" partnerLink="Book" portType="ns1:Book" xpdlId="af6336c1-427f-4a4c-a6c6-c21e87406a34" variable="deleteOut-input" x="308" y="15" width="48" height="48" type="reply"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://xmlns.example.com/20140429203004" version="2.0"&gt;&lt;xsl:param name="deleteBook"/&gt;&lt;xsl:template name="deleteOut-input" match="/"&gt;&lt;tns:deleteResponse&gt;&lt;msg&gt;&lt;xsl:value-of select="$deleteBook/parameters/tns1:operationResponse4/out"/&gt;&lt;/msg&gt;&lt;/tns:deleteResponse&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                   
                </inputBindings>  
                <targets> 
                  <target linkName="deleteBookTodeleteOut"/> 
                </targets> 
              </reply>  
              <invoke inputVariable="deleteBook-input" name="deleteBook" operation="deleteBook" outputVariable="deleteBook" partnerLink="Service" portType="ns2:Service" xpdlId="2b6b07d2-6acc-42f7-b7eb-bfc225f44ea7" x="158" y="15" width="48" height="48" type="invoke"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://xmlns.example.com/20140429203004" xmlns:tns1="http://www.example.org/Books/REST/1398841468313/ConceptSchema" version="2.0"&gt;&lt;xsl:param name="delete"/&gt;&lt;xsl:template name="deleteBook-input" match="/"&gt;&lt;tns:operationRequest4&gt;&lt;parameters&gt;&lt;tns:operationRequest4&gt;&lt;ISBN&gt;&lt;xsl:value-of select="$delete/parameters/tns1:BookParameters/ISBN"/&gt;&lt;/ISBN&gt;&lt;/tns:operationRequest4&gt;&lt;/parameters&gt;&lt;/tns:operationRequest4&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                <inputBindings> 
                   
                </inputBindings>  
                <sources> 
                  <source linkName="deleteBookTodeleteOut"/> 
                </sources> 
              </invoke> 
            </flow> 
          </scope> 
        </onMessage>  
        <onMessage operation="get" partnerLink="Book1" portType="ns1:Book1" xpdlId="44dc30bc-fb75-418c-b07d-8cf6f8e9c1ac" variable="get2" x="9" y="1954" width="522" height="21" collapse="true" type="onMessage"> 
          <scope name="scope6"> 
            <variables> 
              <variable name="ServiceOp" type="xsd:string"> 
                <from> 
                  <literal>Book1/get</literal> 
                </from> 
              </variable> 
            </variables>  
            <faultHandlers> 
              <catchAll faultDetailsVar="FaultDetails" faultNameVar="FaultName" xpdlId="c0174815-8b3f-455d-b6c5-d23e33141dcb" x="37" y="32" width="54" height="21" collapse="true" type="catchAll"> 
                <scope name="scope10"> 
                  <flow name="flow10"> 
                    <links> 
                      <link name="Log5ToReply5" points="[[175,77],[258,77]]"/> 
                    </links>  
                    <extensionActivity x="126" y="53" width="48" height="48" type="log" name="Log5"> 
                      <activityExtension expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log5-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0" inputVariable="Log5-input" name="Log5" xpdlId="caa7eb1c-384a-46a2-b19b-afda8b91b297">  
                        <sources> 
                          <source linkName="Log5ToReply5"/> 
                        </sources>  
                        <inputBindings> 
                          <inputBinding expression="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; xmlns:tns=&quot;http://www.tibco.com/pe/WriteToLogActivitySchema&quot; version=&quot;2.0&quot;&gt;&lt;xsl:param name=&quot;FaultDetails&quot;/&gt;&lt;xsl:param name=&quot;ServiceOp&quot;/&gt;&lt;xsl:template name=&quot;Log5-input&quot; match=&quot;/&quot;&gt;&lt;tns:ActivityInput&gt;&lt;msgCode&gt;&lt;xsl:value-of select=&quot;&amp;quot;1503&amp;quot;&quot;/&gt;&lt;/msgCode&gt;&lt;message&gt;&lt;xsl:value-of select=&quot;concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)&quot;/&gt;&lt;/message&gt;&lt;/tns:ActivityInput&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/> 
                        </inputBindings>  
                        <config> 
                          <bwext:BWActivity xmlns:bwext="http://tns.tibco.com/bw/model/core/bwext" xmlns:activityconfig="http://tns.tibco.com/bw/model/activityconfig" xmlns:generalactivities="http://ns.tibco.com/bw/palette/generalactivities" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" activityTypeID="bw.generalactivities.log" version="6.0.0.001">  
                            <activityConfig> 
                              <properties name="config" xsi:type="activityconfig:EMFProperty"> 
                                <type href="http://ns.tibco.com/bw/palette/generalactivities#//Log"/>  
                                <value role="Info" suppressJobInfo="true" xsi:type="generalactivities:Log"/> 
                              </properties> 
                            </activityConfig> 
                          </bwext:BWActivity> 
                        </config> 
                      </activityExtension> 
                    </extensionActivity>  
                    <reply faultName="serverFault" name="Reply5" operation="get" partnerLink="Book1" portType="ns1:Book1" xpdlId="8a1995a1-91b3-4d44-a449-2b55c3060573" variable="Reply5-input" x="258" y="53" width="48" height="48" type="reply"> 
                      <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://tns.tibco.com/bw/REST" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" version="2.0"&gt;&lt;xsl:param name="FaultDetails"/&gt;&lt;xsl:param name="ServiceOp"/&gt;&lt;xsl:template name="Reply5-input" match="/"&gt;&lt;tns:get5XXFaultMessage2&gt;&lt;serverError&gt;&lt;tns1:server5XXError&gt;&lt;statusCode&gt;&lt;xsl:value-of select="xsd:integer(bw:getModuleProperty(&amp;quot;ec_ServiceUnavailable&amp;quot;))"/&gt;&lt;/statusCode&gt;&lt;message&gt;&lt;xsl:value-of select="concat($ServiceOp, &amp;quot; failed: &amp;quot;, $FaultDetails/Msg)"/&gt;&lt;/message&gt;&lt;/tns1:server5XXError&gt;&lt;/serverError&gt;&lt;/tns:get5XXFaultMessage2&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                        
                      <targets> 
                        <target linkName="Log5ToReply5"/> 
                      </targets> 
                    </reply> 
                  </flow> 
                </scope> 
              </catchAll> 
            </faultHandlers>  
            <flow name="flow6"> 
              <links> 
                <link name="getEventByISBNTogetOut2" points="[[217,39],[303,39]]"/> 
              </links>  
              <empty name="OnMessageStart5" constructor="onMessageStart" xpdlId="991b6052-a923-4e41-a71b-267bc1a6c8f6" x="-19" y="63" width="16" height="16" type="onMessageStart"/>  
              <empty name="OnMessageEnd5" constructor="onMessageEnd" xpdlId="911a63e0-3c3c-4824-8c0a-da89eee941cd" x="520" y="63" width="16" height="16" type="onMessageEnd"/>  
              <reply name="getOut2" operation="get" partnerLink="Book1" portType="ns1:Book1" xpdlId="d3886fcb-3ce3-4e2e-90b0-9f3cf8606a09" variable="getOut2-input" x="303" y="15" width="48" height="48" type="reply"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://www.example.org/Books/REST/1398841468313" xmlns:tns1="http://www.example.org/Events" xmlns:tns2="http://xmlns.example.com/20140430151657" version="2.0"&gt;&lt;xsl:param name="getEventByISBN"/&gt;&lt;xsl:template name="getOut2-input" match="/"&gt;&lt;tns:getResponse2&gt;&lt;item&gt;&lt;tns1:Events&gt;&lt;xsl:copy-of select="$getEventByISBN/parameters/tns2:operationResponse5/tns1:Event"/&gt;&lt;/tns1:Events&gt;&lt;/item&gt;&lt;/tns:getResponse2&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                  
                <targets> 
                  <target linkName="getEventByISBNTogetOut2"/> 
                </targets> 
              </reply>  
              <invoke inputVariable="getEventByISBN-input" name="getEventByISBN" operation="getEventByISBN" outputVariable="getEventByISBN" partnerLink="Service1" portType="ns3:Service" xpdlId="b47f2a99-1454-4b68-9404-5edb1f7cb52d" x="168" y="15" width="48" height="48" type="invoke"> 
                <inputBinding expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns="http://xmlns.example.com/20140430151657" xmlns:tns1="http://www.example.org/Books/REST/1398841468313/ConceptSchema" version="2.0"&gt;&lt;xsl:param name="get2"/&gt;&lt;xsl:template name="getEventByISBN-input" match="/"&gt;&lt;tns:operationRequest5&gt;&lt;parameters&gt;&lt;tns:operationRequest5&gt;&lt;ISBN&gt;&lt;xsl:value-of select="$get2/parameters/tns1:Book1Parameters/ISBN"/&gt;&lt;/ISBN&gt;&lt;/tns:operationRequest5&gt;&lt;/parameters&gt;&lt;/tns:operationRequest5&gt;&lt;/xsl:template&gt;&lt;/xsl:stylesheet&gt;</inputBinding>  
                  
                <sources> 
                  <source linkName="getEventByISBNTogetOut2"/> 
                </sources> 
              </invoke> 
            </flow> 
          </scope> 
        </onMessage> 
      </pick> 
    </flow> 
  </scope> 
</process>
